import request from "@/utils/request.js";

/**
 * 物资分页列表
 */
export function getMaterialsList(data) {
    return request({
        url: `/jy-business/goods/getPageGoods`,
        method: "post",
        data,
    });
}
/**
 * 保存物资
 */
export function keepMaterials(data) {
    return request({
        url: `/jy-business/goods/save`,
        method: "post",
        data,
    });
}
/**
 * 物资详情
 */
export function getMaterialsDetail(params) {
    return request({
        url: `/jy-business/goods/selectGoodsDetail`,
        method: "get",
        params,
    });
}